package com.book.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wx
 * @since 2023-10-13 10:57:31
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("book_free")
@ToString
public class BookFree implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("book_id")
    private Long bookId;

    @TableField("start_time")
    private Date startTime;

    @TableField("end_time")
    private Date endTime;


    public static final String ID = "id";

    public static final String BOOK_ID = "book_id";

    public static final String START_TIME = "start_time";

    public static final String END_TIME = "end_time";

}
